#include "util.hpp"
#include "Online.hpp"
#include "room.hpp"
#include "match.hpp"
#include "session.hpp"
#include "server.hpp"

std::string mysql_host = "101.34.254.139";
std::string mysql_user = "lw";
std::string mysql_passwd = "Liwei200408#";
std::string mysql_db = "gobang";
uint16_t Mysql_port = 3306;

uint16_t BindPort = 8080;

int main()
{
    std::string host = "101.34.254.139";
    std::string user = "lw";
    std::string passwd = "Liwei200408#";
    std::string db = "gobang";
    gobang_server server(host, user, passwd, db);
    server.start(BindPort);
    return 0;
}